.tool-bar {
    background-color: #2e2e2e;
    width: 54px;
    height: 100%;
    color: #979797;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 35px 0 5px;

    .tool-box {
        display: flex;
        flex-direction: column;
        align-items: center;

        .avatar {
            width: 36px;
            height: 36px;
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 18px;
            cursor: pointer;
        }

        i {
            font-size: 22px;
            padding: 8px 0;
            width: 100%;
            text-align: center;
            cursor: pointer;

            &:hover {
                color: #ababab;
            }

            &:active,
            &.active {
                color: #07c160;
            }
        }

        .wechat-files {
            font-size: 20px;
        }

        .wechat-files,
        .wechat-timeline {
            &:active {
                color: #d5d5d5;
            }
        }
    }

    .tool-bottom {
        .tool-bottom-item {
            position: relative;
            margin-bottom: 16px;
            z-index: 99;

            .tool-item-box {
                position: absolute;
                min-width: 136px;
                min-height: 100px;
                background-color: #2E2E2E;
                left: 36px;
                bottom: 0;
            }

            &:nth-of-type(1) {
                .tool-item-box {
                    width: 360px;
                    height: 500px;
                    border-radius: 0 6px 6px 0;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    // color: #1FF3FD;
                    color: #AB7548;

                    .applet {
                        max-width: 80%;
                        margin-bottom: 20px;
                    }
                }
            }

            &:nth-of-type(2) {
                .tool-item-box {
                    width: 242px;
                    border-radius: 0 6px 6px 0;
                    color: #FFF;
                    font-size: 13px;
                    line-height: 1.4;
                    overflow: hidden;
                    bottom: -36px;

                    .phone-text {
                        margin: 0 24px;
                        padding: 20px 0;
                        border-bottom: 1px solid #393939;
                        text-align: center;
                    }

                    .phone-button {
                        display: flex;
                        align-items: center;
                        padding: 16px 12px 12px;
                        cursor: pointer;

                        &:hover {
                            background-color: #272728;
                        }

                        i {
                            display: block;
                            width: 40px;
                            height: 40px;
                            line-height: 40px;
                            border-radius: 40px;
                            background-color: #07C160;
                            font-size: 18px;
                            margin-right: 12px;
                        }
                    }
                }
            }

            &:nth-of-type(3) {
                .tool-item-box {
                    background-color: #282828;

                    .menu-item {
                        height: 46px;
                        line-height: 46px;
                        padding-left: 12px;
                        font-size: 14px;
                        cursor: pointer;

                        &:hover {
                            background-color: #2F3033;
                        }
                    }
                }
            }

            i {
                padding: 0;
                font-size: 18px;

                &:active {
                    color: #d5d5d5;
                }
            }

            &.tool-phone {
                margin-bottom: 10px;

                i {
                    font-size: 22px;
                }
            }

            &.tool-menu {
                i {
                    font-size: 20px;
                }
            }
        }
    }
}